package com.abigdreamer.im.message;

/**
 */
public class FileGetedResponseMessage extends FileResponseMessage {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public FileGetedResponseMessage() {
		this.setMsgType(MessageType.FileGetedResponseMessage_Type);
	}

	public FileGetedResponseMessage(String srcQQ, String destQQ) {
		this();
		this.setSrcQQ(srcQQ);
		this.setDestQQ(destQQ);
	}

	public FileGetedResponseMessage(FileMessage fileMessage) {
		this();
		this.setSrcQQ(fileMessage.getDestQQ());
		this.setDestQQ(fileMessage.getSrcQQ());
		this.setFileID(fileMessage.getFilePartID());
		this.setFileAbsolutePath(fileMessage.getFileAbsolutePath());
		this.setSaveFilePath(fileMessage.getSaveFilePath());
		this.setFileLength(fileMessage.getFileLength());
		this.setFileName(fileMessage.getFileName());

	}

	private int fileID;

	public int getFileID() {
		return fileID;
	}

	public void setFileID(int fileID) {
		this.fileID = fileID;
	}
}
